package com.wei.czz.framework.blog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wei.czz.framework.blog.entity.BlogContentEntity;
import org.apache.ibatis.annotations.Param;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2021-03-15 10:31:23
 * className: BlogContentDao 博客正文操作请求数据库交互接口
 * version: 1.0
 * description:
 */
public interface BlogContentDao extends BaseMapper<BlogContentEntity> {

    /**
     * 根据博客id，获取博客正文信息
     * @param blogId 博客id
     */
    String getBlogContentById(@Param("blogId") Long blogId);
}
